package com.example.springboot2.oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot2.oa.entity.TCustomer;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author llfy
 * @since 2018-11-23
 */
public interface ITCustomerService extends IService<TCustomer> {

    Boolean getCustomerByName(TCustomer customer);

    TCustomer getCustomer(TCustomer customer);

    Boolean getCustomerByNameAndId(TCustomer customer);

    List<TCustomer> listCustomer(String cname);
}
